from game import zz_game
from zz import zz_log, zz_img

log = zz_log.of()


class Game(zz_game.ZZ_Game):
    def __init__(self, d):
        super().__init__(d)

    def get_name(self):
        return "test"

    def check_done(self):
        return False

    def handle_main(self):
        self.log_msg("等待进入游戏主界面")

        for i in range(16):
            self.log_msg("wait")
            self.d.sleep(1)
        # raise ValueError(f"test exption ")

        return True
